package com.example.ticket.demo.service;

import com.example.ticket.demo.model.table.Ticket;

import java.util.List;


public interface ITicketService {
	
	int deleteByPrimaryKey(String id);

	int insert(Ticket record);

	int insertSelective(Ticket record);

	Ticket selectByPrimaryKey(String id);

	Ticket selectByType(String type);
	
	List<Ticket> selectList(Ticket record);

	int updateByPrimaryKeySelective(Ticket record);

	int updateByPrimaryKey(Ticket record);
	
	int updateTicketSale(Ticket record);
}